home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / cntdwn1.zip / CNTDWN.DOC next >
Text File  |  1993-02-16  |  1KB  |  47 lines

  1. Instructions for COUNTDOWN v 1.00
  2. ---------------------------------
  3.  
  4. When the program is run, it starts a countdows from n minutes - 
  5. 3 minutes is defalt. If the program is NOT interupted by user by that 
  6. time (any key will interrupt), ERRORLEVEL 1 will be returned to DOS. 
  7. If it is interrupted by one of the keys 1,2,3,4,5,6,7,8,9,0 the 
  8. ERRRORLEVEL will be set to that value. Any other key, will return 
  9. the value 0.
  10.  
  11. This can be used in *.BAT files, also AUTOEXEC.BAT
  12.  
  13.       EXAMPLE OF USE IN AUTOEXEC.BAT
  14.  
  15.       @echo off
  16.       PATH C:\DOS;E:\;C:\;C:\4DOS;F:\DOS.60;F:\BATFILER;G:\WIN31;
  17.       c:\dos\smartdrv.exe 3072 1024
  18.       alias/r c:\4dos\aliases
  19.       ...
  20.       ...
  21.       ...
  22.       c:\cntdwn.exe
  23.       if errorlevel=1 goto windows
  24.       goto end
  25.       :windows
  26.       g:\win31\win
  27.       :end
  28.  
  29.       This example will cause windows to start up after 3 minutes if NO key 
  30.       has been pressed.
  31.  
  32. CNTDWN.EXE has the parameter /? and /n where n is a number from 1 to 10
  33. If a number is given, the countdown-time will be changed to n minutes.
  34.     cntdwn /1  
  35.      will cause the program to wait for 1 minute before termination.
  36.  
  37.  
  38. ----------------------------------------------
  39. Written by
  40.  
  41. Alexander Ringdal
  42. N-8027 BODOE
  43. NORWAY
  44.  
  45. E-mail : alexan_r@babbage.hsn.no
  46. ----------------------------------------------
  47.